package org.example.code.test2025.one_month;

import org.example.code.test2024.eight_mouth.test;

import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;

/**
 * @Title: test0114
 * @Author yxy
 * @Package org.example.code.test2025.one_month
 * @Date 2025/1/14 10:03
 * @description:
 */
public class test0114 {
    public int minOperations(int[] nums, int k) {
        Arrays.sort(nums);
        int count = 0;
        for (int i = 0; i < nums.length; i++) {
            if(nums[i]< k){
                count++;
            }
        }
        return count;
    }

//    public List<Integer> findSubstring(String s, String[] words) {
//        List<Integer> res = new ArrayList<>();
//
//    }

}
